<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="/css/nav.css" />
		<link rel="stylesheet" type="text/css" href="/css/hdyg.css" />
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<title></title>
	</head>

	<body>
		<div class="content_zl">
			<p class="title_zl" style="margin-bottom:40px;">活动预告</p>
			<div class="panel">
				<? if(count($data['records'])>0){
					foreach ($data['records'] as $key => $val) {?>
						<div class="panel_one">

							<div class="p_left">
								<a href='/uc/activityInfo?id=<? print_r($val['id']);?>'><img style="width:80px;height:80px;" src="<? echo $val['picture_url'] ;?>" /></a>
							</div>
							<div class="p_right">
								<p style="margin-top:28px;font-size:18px;color:#333;margin-bottom:14px;"><? echo $val['title'] ;?></p>
								<span style="font-size:14px;color:#999;"><? echo $val['desc'] ;?></span>
							</div>
							<? if(isset($val['isSignup']) && $val['isSignup']==1) {?>
							<div class="rot" style="">
								已报名
							</div>
						<?}?>
						</div>
					<?}
				}else{
					echo '对不起，暂时没有活动！';
				} ?>


			</div>
			<div class="page" style="float:right;margin-right:50px;margin-top:40px;">
				<img src="/img/nav/1.png"/>
			</div>

		</div>
	</body>

</html>
